Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VK_IMPLICIT_LAYER_PATH & VK_ADD_IMPLICIT_LAYER_PATH env-vars #1550

Merged

Conversation

charles-lunarg
Copy link
Collaborator

@charles-lunarg charles-lunarg commented Sep 11, 2024

Add the environment variables VK_IMPLICIT_LAYER_PATH and
VK_ADD_IMPLICIT_LAYER_PATH to control implicit layer path searching,
mirroring the existing explicit layer only VK_LAYER_PATH and
VK_ADD_LAYER_PATH.

This fixes a gap in environment variable controls over the behavior
of the loader.

See issue #1394.

Add the environment variables VK_IMPLICIT_LAYER_PATH and
VK_ADD_IMPLICIT_LAYER_PATH to control implicit layer path searching,
mirroring the existing explicit layer only VK_LAYER_PATH and
VK_ADD_LAYER_PATH.

This fixes a gap in environment variable controls over the behavior
of the loader.
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 253816.

1 similar comment
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 253816.

@charles-lunarg charles-lunarg linked an issue Sep 11, 2024 that may be closed by this pull request
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2697 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2697 passed.

@linyaa-kiwi linyaa-kiwi changed the title Add VK_IMPLICIT_LAYER_APTH & VK_ADD_IMPLICIT_LAYER_PATH env-vars Add VK_IMPLICIT_LAYER_PATH & VK_ADD_IMPLICIT_LAYER_PATH env-vars Sep 12, 2024
@linyaa-kiwi
Copy link

💯 I want this.

Copy link

@linyaa-kiwi linyaa-kiwi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I reviewed the docs and impl. I did not review the tests. All the changes looked correct to me, other than a small nitpick that you can ignore. I'm not a loader codebase export, though, so I don't know if the proposed changes are sufficient.

Also, I was surprised to discover the existing, extensive duplication, verbatim, of much of the loader-application interface. It deserves a cleanup someday, from someone who has the freetime.

docs/LoaderInterfaceArchitecture.md Outdated Show resolved Hide resolved
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 255861.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2700 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2700 passed.

@charles-lunarg charles-lunarg merged commit ab0fa45 into KhronosGroup:main Sep 13, 2024
44 checks passed
@charles-lunarg charles-lunarg deleted the implicit_layer_env_vars branch September 13, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VK_LAYER_PATH equivalent for implicit layers
3 participants